package com.clever.mall.mapper;

import com.clever.mall.entity.Category;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CateGoryMapper {
    //查询热门分类的前8条
    public List<Category> selectHeatCategory();
    //查询所有分类
    public List<Category> selectAllCategory();
    //判断是否为一级分类
    public Integer selectUpIdById(@Param("id") Integer id);
}
